package com.yonyou.crm.cum.customer.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CustomerSalesDO implements Serializable{
	

    /**
     * cum_customer_sale
     */
    private static final long serialVersionUID = 1L;
    
	/**
     * ID
     */
    private Long id;

    /**
     * 租户ID
     */
    private Long tenantId;

    /**
     * 客户ID
     */
    private Long cumId;
    
    /**
     * 客户DO
     */
    private CustomerDO customerDO;

    /**
     * 公司ID
     */
    private Long orgId;

    /**
     * 负责人所属部门ID
     */
    private Long ownerDeptId;

    /**
     * 负责人ID
     */
    private Long ownerUserId;
    
    /**
     * 客户等级
     */
    private Integer level;

    /**
     * 客户状态
     */
    private Integer state;
    
    /**
     * 最近跟进时间
     */
    private Date followTime; 
    
    /**
     * 首次跟进时间
     */
    private Date firstFollowTime;

    /**
     * 最近拜访时间
     */
    private Date visitTime;
    
    /**
     * 最近交易时间
     */
    private Date exchangeTime;
    
    /**
     * 最近交易金额
     */
    private BigDecimal exchangeMoney;
    
    /**
     * 启用标识(启用1，停用2)
     */
    private Integer enableState;

    /**
     * 停启用人
     */
    private Long enableUserId;

    /**
     * 停启用时间
     */
    private Date enableTime;
    
    /**
     * 自定义字段1
     */
    private String def1;

    /**
     * 自定义字段2
     */
    private String def2;

    /**
     * 自定义字段3
     */
    private String def3;

    /**
     * 自定义字段4
     */
    private String def4;

    /**
     * 自定义字段5
     */
    private String def5;

    /**
     * 自定义字段6
     */
    private String def6;

    /**
     * 自定义字段7
     */
    private String def7;

    /**
     * 自定义字段8
     */
    private String def8;

    /**
     * 自定义字段9
     */
    private String def9;

    /**
     * 自定义字段10
     */
    private String def10;

    /**
     * 自定义字段11
     */
    private String def11;

    /**
     * 自定义字段12
     */
    private String def12;

    /**
     * 自定义字段13
     */
    private String def13;

    /**
     * 自定义字段14
     */
    private String def14;

    /**
     * 自定义字段15
     */
    private String def15;

    /**
     * 自定义字段16
     */
    private String def16;

    /**
     * 自定义字段17
     */
    private String def17;

    /**
     * 自定义字段18
     */
    private String def18;

    /**
     * 自定义字段19
     */
    private String def19;

    /**
     * 自定义字段20
     */
    private String def20;

    /**
     * 自定义字段21
     */
    private String def21;

    /**
     * 自定义字段22
     */
    private String def22;

    /**
     * 自定义字段23
     */
    private String def23;

    /**
     * 自定义字段24
     */
    private String def24;

    /**
     * 自定义字段25
     */
    private String def25;

    /**
     * 自定义字段26
     */
    private String def26;

    /**
     * 自定义字段27
     */
    private String def27;

    /**
     * 自定义字段28
     */
    private String def28;

    /**
     * 自定义字段29
     */
    private String def29;

    /**
     * 自定义字段30
     */
    private String def30;

    /**
     * 创建人
     */
    private Long createdUserId;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 修改人
     */
    private Long modifiedUserId;

    /**
     * 修改时间
     */
    private Date modifiedTime;

    /**
     * 系统创建人
     */
    private Long sysCreatedUserId;

    /**
     * 系统创建时间
     */
    private Date sysCreatedTime;

    /**
     * 系统修改人
     */
    private Long sysModifiedUserId;

    /**
     * 系统修改时间
     */
    private Date sysModifiedTime;

    /**
     * 时间戳
     */
    private Date ts;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public Long getCumId() {
		return cumId;
	}

	public void setCumId(Long cumId) {
		this.cumId = cumId;
	}

	public CustomerDO getCustomerDO() {
		return customerDO;
	}

	public void setCustomerDO(CustomerDO customerDO) {
		this.customerDO = customerDO;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public Long getOwnerDeptId() {
		return ownerDeptId;
	}

	public void setOwnerDeptId(Long ownerDeptId) {
		this.ownerDeptId = ownerDeptId;
	}

	public Long getOwnerUserId() {
		return ownerUserId;
	}

	public void setOwnerUserId(Long ownerUserId) {
		this.ownerUserId = ownerUserId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getFollowTime() {
		return followTime;
	}

	public void setFollowTime(Date followTime) {
		this.followTime = followTime;
	}

	public Date getFirstFollowTime() {
		return firstFollowTime;
	}

	public void setFirstFollowTime(Date firstFollowTime) {
		this.firstFollowTime = firstFollowTime;
	}

	public Date getVisitTime() {
		return visitTime;
	}

	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}

	public Date getExchangeTime() {
		return exchangeTime;
	}

	public void setExchangeTime(Date exchangeTime) {
		this.exchangeTime = exchangeTime;
	}

	public BigDecimal getExchangeMoney() {
		return exchangeMoney;
	}

	public void setExchangeMoney(BigDecimal exchangeMoney) {
		this.exchangeMoney = exchangeMoney;
	}

	public String getDef1() {
		return def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	public String getDef2() {
		return def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	public String getDef3() {
		return def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	public String getDef4() {
		return def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	public String getDef5() {
		return def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	public String getDef6() {
		return def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	public String getDef7() {
		return def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	public String getDef8() {
		return def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	public String getDef9() {
		return def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	public String getDef10() {
		return def10;
	}

	public void setDef10(String def10) {
		this.def10 = def10;
	}

	public String getDef11() {
		return def11;
	}

	public void setDef11(String def11) {
		this.def11 = def11;
	}

	public String getDef12() {
		return def12;
	}

	public void setDef12(String def12) {
		this.def12 = def12;
	}

	public String getDef13() {
		return def13;
	}

	public void setDef13(String def13) {
		this.def13 = def13;
	}

	public String getDef14() {
		return def14;
	}

	public void setDef14(String def14) {
		this.def14 = def14;
	}

	public String getDef15() {
		return def15;
	}

	public void setDef15(String def15) {
		this.def15 = def15;
	}

	public String getDef16() {
		return def16;
	}

	public void setDef16(String def16) {
		this.def16 = def16;
	}

	public String getDef17() {
		return def17;
	}

	public void setDef17(String def17) {
		this.def17 = def17;
	}

	public String getDef18() {
		return def18;
	}

	public void setDef18(String def18) {
		this.def18 = def18;
	}

	public String getDef19() {
		return def19;
	}

	public void setDef19(String def19) {
		this.def19 = def19;
	}

	public String getDef20() {
		return def20;
	}

	public void setDef20(String def20) {
		this.def20 = def20;
	}

	public String getDef21() {
		return def21;
	}

	public void setDef21(String def21) {
		this.def21 = def21;
	}

	public String getDef22() {
		return def22;
	}

	public void setDef22(String def22) {
		this.def22 = def22;
	}

	public String getDef23() {
		return def23;
	}

	public void setDef23(String def23) {
		this.def23 = def23;
	}

	public String getDef24() {
		return def24;
	}

	public void setDef24(String def24) {
		this.def24 = def24;
	}

	public String getDef25() {
		return def25;
	}

	public void setDef25(String def25) {
		this.def25 = def25;
	}

	public String getDef26() {
		return def26;
	}

	public void setDef26(String def26) {
		this.def26 = def26;
	}

	public String getDef27() {
		return def27;
	}

	public void setDef27(String def27) {
		this.def27 = def27;
	}

	public String getDef28() {
		return def28;
	}

	public void setDef28(String def28) {
		this.def28 = def28;
	}

	public String getDef29() {
		return def29;
	}

	public void setDef29(String def29) {
		this.def29 = def29;
	}

	public String getDef30() {
		return def30;
	}

	public void setDef30(String def30) {
		this.def30 = def30;
	}

	public Long getCreatedUserId() {
		return createdUserId;
	}

	public void setCreatedUserId(Long createdUserId) {
		this.createdUserId = createdUserId;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Long getModifiedUserId() {
		return modifiedUserId;
	}

	public void setModifiedUserId(Long modifiedUserId) {
		this.modifiedUserId = modifiedUserId;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public Long getSysCreatedUserId() {
		return sysCreatedUserId;
	}

	public void setSysCreatedUserId(Long sysCreatedUserId) {
		this.sysCreatedUserId = sysCreatedUserId;
	}

	public Date getSysCreatedTime() {
		return sysCreatedTime;
	}

	public void setSysCreatedTime(Date sysCreatedTime) {
		this.sysCreatedTime = sysCreatedTime;
	}

	public Long getSysModifiedUserId() {
		return sysModifiedUserId;
	}

	public void setSysModifiedUserId(Long sysModifiedUserId) {
		this.sysModifiedUserId = sysModifiedUserId;
	}

	public Date getSysModifiedTime() {
		return sysModifiedTime;
	}

	public void setSysModifiedTime(Date sysModifiedTime) {
		this.sysModifiedTime = sysModifiedTime;
	}

	public Date getTs() {
		return ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	public Integer getEnableState() {
		return enableState;
	}

	public void setEnableState(Integer enableState) {
		this.enableState = enableState;
	}

	public Long getEnableUserId() {
		return enableUserId;
	}

	public void setEnableUserId(Long enableUserId) {
		this.enableUserId = enableUserId;
	}

	public Date getEnableTime() {
		return enableTime;
	}

	public void setEnableTime(Date enableTime) {
		this.enableTime = enableTime;
	}

}
